package cn.mxz.xmu.restful.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import cn.mxz.xmu.interfaces.robot.ILibrary;

/**
 * 图书馆service
 * 
 * @author dongchao <dongchao@mouge.wang>
 * @since 2015-07-27
 */
@Scope("prototype")
@Component
public class LibraryService
{
	private static final Logger LOG = LoggerFactory.getLogger(LibraryService.class);
	@Autowired
	private ILibrary library;

	public String param(String method, String value)
	{
		LOG.info(" method=" + method + " value=" + value);
		return library.param(method, value);
	}

}
